#!/bin/bash

curl http://192.168.31.253:11434/api/chat -d '{
  "model": "deepseek-r1:32b",
  "stream": false,
  "keep_alive": -1,
  "format": {
    "properties": {
      "robot_message_to_patient": {"type": "string"}
    },
    "required": ["robot_message_to_patient"]
  },
  "options": {
    "temperature": 0.15,
    "top_p": 0.85,
    "max_tokens": 30
  },
  "messages": [
    {
      "role": "user",
      "content": "你是一名医院陪护机器人，这个是患者对你说的：‘介绍一下肾病的知识’。不要思考过程。"
    }
  ]
}'
